<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="<%=request.getContextPath()%>/js/jquery.min.js"></script>

</head>
<body>
<div class="modal-dialog " style="width:100%">
	<div class="modal-content col-md-10" style="width:100%">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
		</div>
		<div class="modal-body col-md-10" id="trans" style="text-align: center;">
			<img id="bigimg" alt="" src="" width="800px;" style="cursor:pointer;">
		</div>
	</div>
</div>
</body>
<script type="text/javascript">

window.onload = function(){
 
    var current = 0;
 
    document.getElementById('trans').onclick = function(){
        current = (current+90)%360;
        this.style.transform = 'rotate('+current+'deg)';
    }
};
</script>
</html>